/*
 * @Author: wanlixin
 * @Date: 2019-10-05 10:41:30
 * @LastEditors: wanlixin
 * @LastEditTime: 2019-10-05 13:21:26
 * @Description: 判断环境
 */
// ssr support
export const inBrowser = typeof window !== 'undefined';
export const ua = inBrowser && navigator.userAgent.toLowerCase();
export const isAndroid = ua && ua.indexOf('android') > 0;
